Expand description

Holochain Integrity Types: only the types needed by Holochain application developers to use in their integrity Zome code, and nothing more.

This crate is intentionally kept as minimal as possible, since it is typically included as a dependency in Holochain Zomes, which are distributed as chunks of Wasm.

This crate is also designed to be deterministic and more stable than the higher level crates.

Re-exports§

Modules§

  • Capability Grants and Claims
  • Source Chain Filtering
  • Countersigned entries involve preflights between many agents to build a session that is part of the entry.
  • Re-exported dependencies
  • An Entry is a unit of data in a Holochain Source Chain.
  • An alternative to [Op] using a flatter structure, and user-defined deserialized entry included where appropriate
  • Types related to the genesis process whereby a user commits their initial records and validates them to the best of their ability. Full validation may not be possible if network access is required, so they perform a “self-check” (as in “check yourself before you wreck yourself”) before joining to ensure that they can catch any problems they can before being subject to the scrutiny of their peers and facing possible rejection.
  • Information about the current zome and dna.
  • Dht Operations
  • Common types
  • Rate limiting data types
  • Defines a Record, the basic unit of Holochain data.
  • Signature for authenticity of data
  • Types related to the debug host function
  • A Zome is a module of app-defined code which can be run by Holochain. A group of Zomes are composed to form a DnaDef.

Macros§

  • Serialization for fixed arrays is generally not available in a way that can be derived. Being able to wrap fixed size arrays is important e.g. for crypto safety etc. so this is a simple way to implement serialization so that we can send these types between the host/guest.
  • Cryptographic secrets are fiddly at the best of times.

Enums§

Traits§

  • A utility trait for associating a data enum with a unit enum that has the same variants.